global class TestBatchJob implements Database.Batchable<sObject>{
String query;

global Database.querylocator start(Database.BatchableContext BC){
            return Database.getQueryLocator(query);}   
            
   global void execute(Database.BatchableContext info, List<Account> scope ){
       List<Account> accsToUpdate = new List<Account>();
       for(Account a : scope){ 
           a.Name = 'true'; 
           a.NumberOfEmployees = 70; 
           accsToUpdate.add(a); 
       } 
       update accsToUpdate ; 
   }     
   global void finish(Database.BatchableContext info){     
   } 
}